package com.nulstudio.cloud.inventory.client;

import com.nulstudio.cloud.common.domain.vo.SupplierVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "nul-supplier")
public interface SupplierClient {

    @GetMapping("/supplier/{id}")
    SupplierVo getSupplierById(@PathVariable("id") int id);
}
